package com.kum.domain.dto;

import com.alibaba.fastjson.JSON;
import com.kum.domain.entity.SysScript;
import lombok.Data;

import java.util.List;

/**
 * @version V1.0
 * @Package com.kum.domain.dto
 * @auhter 枯木Kum
 * @date 2021/6/19-3:38 PM
 * <p>...</p>
 */

@Data
public class SysUserScriptDto extends SysScript {
    /**
     * 状态
     */
    private String status;

    public List<String> getMatch() {
        return JSON.parseArray(getScriptMatch(), String.class);
    }
    public List<String> getRequire() {
        return JSON.parseArray(getScriptRequire(), String.class);
    }
}
